package com.zxy.express.service;

import com.autopai.base.common.mybatis.service.BaseService;
import com.autopai.base.common.web.model.RestResult;
import com.autopai.base.common.web.page.PageData;
import com.zxy.express.dto.PracticeRecordDTO;
import com.zxy.express.entity.PracticeRecordEntity;

import java.util.List;
import java.util.Map;

/**
 * 总练习记录表
 *
 * @author zhangxiying ${email}
 * @since ${version} 2025-07-01
 */
public interface PracticeRecordService extends BaseService<PracticeRecordEntity> {

    PageData<PracticeRecordDTO> page(Map<String, Object> params);

    List<PracticeRecordDTO> list(Map<String, Object> params);

    PracticeRecordDTO get(String id);

    void save(PracticeRecordDTO dto);

    void update(PracticeRecordDTO dto);

    void delete(String[] ids);
    RestResult getPracticeStatis();

    RestResult getPracticeCalendar(Map<String, Object> params);
}